.PHONY: clean

memory: memory.o
	$(CC) -Wall memory.o -o memory
memory.o: memory.c
	$(CC) -Wall -c memory.c -o memory.o

clean:
	rm -rf *.o
	rm -rf memory
